package com.centit.suixuan.puremvc.model
{
	import com.centit.suixuan.puremvc.view.MainMediator;
	
	import mx.controls.Tree;
	
	import org.puremvc.as3.interfaces.IProxy;
	import org.puremvc.as3.patterns.proxy.Proxy;
	import spark.components.DataGrid;
	import mx.collections.ArrayCollection;

	public class DataGridProxy extends Proxy implements IProxy
	{
		public function DataGridProxy(proxyName : String = null, data : Object = null)
		{
			super(proxyName, data);
				
		}
		
		public static const NAME:String = "DataGridProxy";
		
		
		public function initDataGrid(dataGrid : DataGrid) : void {
			var arr:ArrayCollection = new ArrayCollection([  
				{neName:"教工路文一路路口相机_4", neType:"相机" , removeStatus:"未清除" , confirmStatus:"未确认" },  
				{neName:"学院路文一路路口相机_3", neType:"相机" , removeStatus:"未清除" , confirmStatus:"未确认" },  
				{neName:"文一路莫干山路路口相机_1", neType:"相机" , removeStatus:"未清除" , confirmStatus:"未确认" },  
				{neName:"文一路莫干山路路口相机_3", neType:"相机" ,  removeStatus:"未清除" , confirmStatus:"未确认" }  
			]); 
			
			dataGrid.dataProvider = arr;
		}
	}
}